﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace DBOptionPro.Model
{
    /// <summary>
    /// DBF文件信息实体类
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class DBFFileInfo
    {
        [Display(Name = "文件完整路径")]
        public string FilePath { get; set; } = string.Empty;

        [Display(Name = "文件名")]
        public string FileName { get; set; } = string.Empty;

        [Display(Name = "文件扩展名")]
        public string FileExtension { get; set; } = string.Empty;

        [Display(Name = "同步时间")]
        public DateTime? AsyncTime { get; set; }

        /// <summary>
        /// 同步状态"尚未同步"、"同步成功"、"同步失败"
        /// </summary>
        [Display(Name = "状态")]
        public string AsyncState { get; set; } = "尚未同步";

        /// <summary>
        /// 同步成功总记录数
        /// </summary>
        [Display(Name = "成功记录数")]
        public int? AsyncCount { get; set; }
    }
}
